home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / elv18src.zip / doc / elvprsv.doc < prev    next >
Text File  |  1994-01-17  |  3KB  |  133 lines

  1.  
  2.  
  3. NAME
  4.        elvprsv  -  Preserve  the  the  modified version of a file
  5.        after a crash.
  6.  
  7. SYNOPSIS
  8.        elvprsv ["-why elvis died"] /tmp/filename...
  9.        elvprsv -R /tmp/filename...
  10.  
  11. DESCRIPTION
  12.        elvprsv preserves your edited text after elvis dies.   The
  13.        text can be recovered later, via the elvprsv program.
  14.  
  15.        For  UNIX-like  systems, you should never need to run this
  16.        program from the command line.  It  is  run  automatically
  17.        when  elvis  is  about  to  die, and it should be run (via
  18.        /etc/rc) when the computer is booted.  THAT'S ALL!
  19.  
  20.        For non-UNIX systems such as MS-DOS or VMS, you can either
  21.        use elvprsv the same way as under UNIX systems (by running
  22.        it from your AUTOEXEC.BAT file), or you can run  it  sepa-
  23.        rately  with  the  "-R"  flag  to recover the files in one
  24.        step.
  25.  
  26.        If you're editing a file when elvis dies (due  to  a  bug,
  27.        system crash, power failure, etc.)  then elvprsv will pre-
  28.        serve the most recent version of your text.  The preserved
  29.        text  is  stored in a special directory; it does NOT over-
  30.        write your text file automatically.  (If the  preservation
  31.        directory  hasn't been set up correctly, then elvprsv will
  32.        simply send you a mail message descrining how to  manually
  33.        run elvprsv.)
  34.  
  35.        elvprsv  will  send  mail  to  any user whose work it pre-
  36.        serves, if your operating system normally supports mail.
  37.  
  38. FILES
  39.        /tmp/elv*
  40.               The temporary file that elvis  was  using  when  it
  41.               died.
  42.  
  43.        /usr/preserve/p*
  44.               The text that is preserved by elvprsv.
  45.  
  46.        /usr/preserve/Index
  47.               A  text file which lists the names of all preserved
  48.               files, and the names of the /usr/preserve/p*  files
  49.               which contain their preserved text.
  50.  
  51. BUGS
  52.        Due  to the permissions on the /usr/preserve directory, on
  53.        UNIX systems elvprsv must be run as  superuser.   This  is
  54.        accomplished  by making the elvprsv executable be owned by
  55.        "root" and turning on its "set user id" bit.
  56.  
  57.  
  58.  
  59.  
  60.                                                                 1
  61.  
  62.  
  63.  
  64.  
  65.  
  66. ELVPRSV(1)                                             ELVPRSV(1)
  67.  
  68.  
  69.        If you're editing a nameless buffer when elvis dies,  then
  70.        elvprsv will pretend that the file was named "foo".
  71.  
  72. AUTHOR
  73.        Steve Kirkendall
  74.        kirkenda@cs.pdx.edu
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                 2
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.